import request from '@/utils/request'



//统一字典下拉框查询
export function adminDict(params) {
    return request({
        url: `common/v1/adminDict`,
        params
    })
}
//查询奖池奖品列表
export function jackpotPrizeList(params) {
    return request({
        url: `/jackpot/prize/list`,
        method: 'get',
        params
    })
}
//新增奖池奖品
export function addJackpotPrize(data) {
    return request({
      url: '/jackpot/prize',
      method: 'post',
      data
    })
}

//编辑卡信息
export function editJackpotPrize(data) {
    return request({
        url: `/jackpot/prize`,
        method: 'put',
        data
    })
}
//获取奖池奖品信息
export function prizeDetail(id) {
    return request({
        url: `/jackpot/prize/${id}`,
        method: 'get',
    })
}